package main

import (
	"github.com/astaxie/beego"
	_ "github.com/astaxie/beego/config/yaml"
	"job-scheduler/controllers"
	"job-scheduler/models"
	_ "job-scheduler/routers"
)

func main() {
	beego.AddAPPStartHook(models.RegisterDataBase)
	beego.AddAPPStartHook(controllers.JobInit)

	beego.Run()
}
